#ifndef PORTMONITORWINDOWS_H
#define PORTMONITORWINDOWS_H

#include "portmonitor.h"
#include <QRegExp>

class PortMonitorLinux : public PortMonitor
{
    Q_OBJECT
private:
    QThread* mMonitorThread;
    int mCppLive;
    static QRegExp mPatternAdd;
    static QRegExp mPatternRemove;

public:
    explicit PortMonitorLinux(QList<PortFilterInfo> filters, QObject *parent = nullptr);

    virtual void onStartMonitor(void* win) override;
    virtual void onStopMonitor() override;

private:
    void monitorProc();

signals:

public slots:
};

#endif // PORTMONITORWINDOWS_H
